/**
 * Copyright (c) 2005-2016, yinwer81 (yinwer81@aliyun.com)
 *
 * Licensed under the Apache License, Version 2.0
 */
package com.nozturn.throne;

public class Constants {

    public static final String RESOURCE_SERVER_NAME = "oauth-server";

    public static final String INVALID_CLIENT_ID = "客户端验证失败，如错误的client_id/client_secret。";

    public static final String INVALID_ACCESS_TOKEN = "accessToken无效或已过期。";

    public static final String INVALID_REDIRECT_URI = "缺少授权成功后的回调地址。";

    public static final String INVALID_AUTH_CODE = "错误的授权码。";

    // 验证accessToken
    public static final String CHECK_ACCESS_CODE_URL = "http://localhost:8080/checkAccessToken?accessToken=";

}
